# def gen():
#     x = 0
#     while True:
#         x = yield x*x
#
# a=gen()
# next(a)
# for i in range(5):
#     print(a.send(i))


import json





a = '{"a":5,"b":6}'
b = '{"年号":5}'
print(b.encode())
print(json.loads(b))
# print(a.encode())
a = a.encode('utf-8')
print(a)
# print(json.loads(a))
# p = json.loads(a)
# print(type(p))